package com.canopys.study.open.test.si;

/**
 * @Author: Canopys
 * @Descrption:
 * @Date: Created in 11:48 2020/2/26
 * @Modified By:
 */
public class Lazy {
    private static Lazy lazy = null;

    private Lazy() {};

    public static Lazy getInstance() {
        if (lazy == null) {
            synchronized(Lazy.class) {
                if (lazy == null) {
                    lazy = new Lazy();
                }
            }
        }
        return lazy;
    }
}
